package com.lighthouse.issue.base.service;

import com.lighthouse.issue.base.domain.KnowledgeIssue;

import java.util.List;

/**
 * 问题Service接口
 * 
 * @author ysz
 * @date 2024-02-03
 */
public interface IKnowledgeIssueService 
{
    /**
     * 查询问题
     * 
     * @param issueId 问题主键
     * @return 问题
     */
    public KnowledgeIssue selectKnowledgeIssueByIssueId(Long issueId);

    /**
     * 查询问题列表
     * 
     * @param knowledgeIssue 问题
     * @return 问题集合
     */
    public List<KnowledgeIssue> selectKnowledgeIssueList(KnowledgeIssue knowledgeIssue);

    /**
     * 新增问题
     * 
     * @param knowledgeIssue 问题
     * @return 结果
     */
    public KnowledgeIssue insertKnowledgeIssue(KnowledgeIssue knowledgeIssue);

    /**
     * 修改问题
     * 
     * @param knowledgeIssue 问题
     * @return 结果
     */
    public int updateKnowledgeIssue(KnowledgeIssue knowledgeIssue);

    /**
     * 批量删除问题
     * 
     * @param issueIds 需要删除的问题主键集合
     * @return 结果
     */
    public int deleteKnowledgeIssueByIssueIds(Long[] issueIds);

    /**
     * 删除问题信息
     * 
     * @param issueId 问题主键
     * @return 结果
     */
    public int deleteKnowledgeIssueByIssueId(Long issueId);
}
